package com.fqgj.report.statistics.dao;

import com.fqgj.common.base.BaseMapper;
import com.fqgj.report.statistics.entity.BiAuditStatEntity;
import com.fqgj.report.statistics.entity.BiAuditStatisticEntity;

import java.util.List;

/**
 * User: ykpbean
 * Date: 2017-10-18
 * Time: 14:28:31.952
 */

public interface BiAuditStatDao extends BaseMapper<BiAuditStatEntity> {
    /**
     * 获取审核逾期统计 相关数据
     *
     * @param startDate
     * @param endDate
     * @param eventId
     * @param source
     * @param borrowType
     * @return
     */
    List<BiAuditStatisticEntity> selectRiskAuditStatistic(String startDate, String endDate, Long eventId,
                                                          String executorType, String version,
                                                          String source, Integer borrowType);

    Long selectApplyCnt(String startDate, String endDate, Long eventId,
                        String executorType, String version,
                        String source, Integer borrowType, Integer resultType);
}